    
<div id="wrapper-1">
   <div id="slides-container">        
        <div class="slider-wrapper theme-default">
            <div id="slider" class="nivoSlider">
                <?php echo $this->Html->image('slider/masfletes_bienvenida.jpg', array('alt' => '�Qu&eacute; es MasFletes.com?'))?>
                <?php echo $this->Html->image('slider/masfletes_inicio.jpg', array('alt' => 'Atenci&oacute;n a Clientes'))?>
            </div>
        </div>
    </div>
            
    <div id="login-container">
        <div id="fondo-encabezado">Acceso a Usuarios</div>
        <div id="texto-sesion">
            <?php
            echo $this->Form->create(null, array( 'url' => 'http://portalmf.masfletes.com/public/Index/index', 'type' => 'Post'));
            echo $this->Form->input('Correo Electr&oacute;nico', array('name' => 'username','placeholder' => ''));
            echo $this->Form->input('Contrase&ntilde;a', array('type' => 'password','name' => 'password'));
            echo $this->Form->submit('botones/masfletes_sesion_entrar.png'); 
           //echo "<input type='image' src='img/botones/masfletes_sesion_entrar.png'>"; 
           ?>
        </div>
        <br />
        <?php 
        echo $this->Html->link('Olvide mi contraseña', 'empty', array('class' => 'texto-link-sesion', 'target' => '_parent'));
        echo '<br />';
        //echo $this->Html->link('Usuario Nuevo', 'registro',  array('class' => 'texto-link-sesion', 'target' => '_parent')); 
        echo $this->Html->link('Usuario Nuevo', array('controller' => 'User', 'action' => 'add'),  array('class' => 'texto-link-sesion', 'target' => '_parent')); ?> 
    </div>
</div>

<div id="wrapper-tabs">
    <div id="tabs">
	<ul>
            <li><a href="#tabs-1">¿Deseas Enviar T&uacute; Carga?</a></li>
            <li><a href="#tabs-2">¿Eres Transportista?</a></li>
	</ul>
	<div id="tabs-1">
                <div class="span-3" id="span3-tabs">
                        <?php echo $this->Html->image('tabs/masfletes_tab_carga.jpg', array('class' => 'tabs','alt' => 'Masfletes_Icono_Cargas'));?>
                </div>
                
                <div class="span-14" id="span14-tabs">
                        Puedes <strong>VER LAS UNIDADES</strong> de transporte Disponibles 
                        para tu carga.
                        <br />
                        Tambi&eacute;n podr&aacute;s <strong>PUBLICAR</strong> las necesidades 
                        de transporte para tu <strong>CARGAS</strong>. 
                </div>
                <div class="span-5 last" id="span5-tabs">
                        <?php echo $this->Html->link('Publica Tu Carga GRATIS!', array('controller' => 'Shipment', 'action' => 'publicaCargaExpress', 'full_base' => true), array('class' => 'botontabs', 'target' => '_parent', 'title' => 'Clic Aquí')); ?>
                </div>
                <br /><br /><br /><br />
                <h2>::: Unidades de Transporte Disponibles :::</h2>
                <table class = "tabs" width="95%">
                    
                    <tr class = "tabs">
                            <td>No.</td>
                            <td>Origen</td>
                            <td>Destino</td>
                            <td>Veh&iacute;culo</td>
                            <td>Disponible Hasta</td>
                    </tr>
                    
                    <?php
                   /*  foreach ( $routesDetails as $value)
                     {echo '<tr><td class = "tabs">'.$value['Route']['Route_Id'].'<br /></td>'
                        .'<td class = "tabs">'.$value['citiesOrigin']['City_Origin_Name'].' , '.$value['statesOrigin']['State_O_Abbrev'].'<br /></td>'
                        .'<td class = "tabs">'.$value['city']['City_Destiny_Name'].' , '.$value['states']['State_D_Abbrev'].'<br /></td>'
                        .'<td class = "tabs">'.$value['vehicles']['Vehicle_Name'].' De '.$value['vehicle_types']['Vehicle_Type_Name'].'<br /></td>'
                        .'<td class = "tabs">'.$value['0']['New_Availability_Date'].'<br /></td></tr>';
                     }*/?>
             </table>            
        </div>
        
	<div id="tabs-2">
                <div class="span-3" id="span3-tabs">
                        <?php echo $this->Html->image('tabs/masfletes_tab_transporte.jpg', array('class' => 'tabs','alt' => 'Masfletes_Icono_Transportista'));?>
                </div>

                <div class="span-14" id="span14-tabs">
                        Puedes <strong>VER LAS CARGAS</strong> disponibles publicadas en MasFletes.
                        <br />
                        Tambi&eacute;n podr&aacute;s <strong>PUBLICAR LA RUTA</strong> que seguir&aacute;
                        tu unidad de carga vac&iacute;a despu&eacute;s de hacer su flete original.
                 </div>
                <div class="span-5 last" id="span5-tabs">
                        <?php echo $this->Html->link('Publica Tu Ruta GRATIS!', array('controller' => 'Route', 'action' => 'publicaRutaExpress', 'full_base' => true), array('class' => 'botontabs', 'target' => '_parent', 'title' => 'Clic Aquí')); ?>
                        <br />
                </div>
                <br /><br /><br /><br />
                <h2>::: Cargas Disponibles :::</h2>
                <table class = "tabs" width="95%">
                    <tr class = "tabs">
                            <td>No.</td>
                            <td>Origen</td>
                            <td>Destino</td>
                            <td>Veh&iacute;culo </td>
                            <td>Disponible Hasta </td>
                    </tr>
                    <?php
                   /* foreach ($shipmentsDetails as $value)
                    { 
                       echo '<tr><td class = "tabs">'.$value['shipments']['Shipments_Id'].'<br /></td>'
                       .'<td class = "tabs">'.$value['citiesOrigin']['City_Origin_Name'].' , '.$value['statesOrigin']['State_O_Abbrev'].'<br /></td>'
                       .'<td class = "tabs">'.$value['city']['City_Destiny_Name'].' , '.$value['states']['State_D_Abbrev'].'<br /></td>'
                       .'<td class = "tabs">'.$value['vehicles']['Vehicle_Name'].' De '.$value['vehicle_types']['Vehicle_Type_Name'].'<br /></td>'
                       .'<td class = "tabs">'.$value['0']['New_Availability_Date'].'<br /></td></tr>';
                    }*/?>
             </table>            
                
                 
        </div>
    </div>